package com.xpertline.ui.invoice;

import javax.swing.JPanel;
import java.awt.BorderLayout;
import javax.swing.JButton;
import java.awt.FlowLayout;
import java.awt.Dimension;
import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;
import java.awt.Insets;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
import com.xpertline.ui.invoice.EditRoomInvoiceDialog;

public class RoomInfoPane extends JPanel {

	/**
	 * Create the panel.
	 */
	public RoomInfoPane() {
		setLayout(new BorderLayout(0, 0));
		
		JPanel panel = new JPanel();
		FlowLayout flowLayout = (FlowLayout) panel.getLayout();
		flowLayout.setAlignment(FlowLayout.LEFT);
		add(panel, BorderLayout.NORTH);
		
		JButton btnTrt = new JButton("Tr\u1EC7t");
		panel.add(btnTrt);
		
		JButton btnTng = new JButton("T\u1EA7ng 2");
		panel.add(btnTng);
		
		JButton btnTng_1 = new JButton("T\u1EA7ng 3");
		panel.add(btnTng_1);
		
		JButton btnTng_2 = new JButton("T\u1EA7ng 4");
		panel.add(btnTng_2);
		
		JButton btnTng_3 = new JButton("T\u1EA7ng 5");
		panel.add(btnTng_3);
		
		JButton btnTng_4 = new JButton("T\u1EA7ng 6");
		panel.add(btnTng_4);
		
		JButton btnTng_5 = new JButton("T\u1EA7ng 7");
		panel.add(btnTng_5);
		
		JButton btnTng_6 = new JButton("T\u1EA7ng 8");
		panel.add(btnTng_6);
		
		JButton btnTng_7 = new JButton("T\u1EA7ng 9");
		panel.add(btnTng_7);
		
		JButton btnTng_8 = new JButton("T\u1EA7ng 10");
		panel.add(btnTng_8);
		
		JButton btnTng_9 = new JButton("T\u1EA7ng 11");
		panel.add(btnTng_9);
		
		JButton btnTng_10 = new JButton("T\u1EA7ng 12");
		panel.add(btnTng_10);
		
		JPanel panel_1 = new JPanel();
		add(panel_1, BorderLayout.EAST);
		GridBagLayout gbl_panel_1 = new GridBagLayout();
		gbl_panel_1.columnWidths = new int[]{0, 0};
		gbl_panel_1.rowHeights = new int[]{0, 0, 0};
		gbl_panel_1.columnWeights = new double[]{0.0, Double.MIN_VALUE};
		gbl_panel_1.rowWeights = new double[]{0.0, 0.0, Double.MIN_VALUE};
		panel_1.setLayout(gbl_panel_1);
		
		JButton btnNewButton = new JButton("Danh s\u00E1ch");
		GridBagConstraints gbc_btnNewButton = new GridBagConstraints();
		gbc_btnNewButton.insets = new Insets(0, 0, 5, 0);
		gbc_btnNewButton.gridx = 0;
		gbc_btnNewButton.gridy = 0;
		panel_1.add(btnNewButton, gbc_btnNewButton);
		
		JButton btnInCpTc = new JButton("In c\u1EA5p t\u1ED1c");
		GridBagConstraints gbc_btnInCpTc = new GridBagConstraints();
		gbc_btnInCpTc.gridx = 0;
		gbc_btnInCpTc.gridy = 1;
		panel_1.add(btnInCpTc, gbc_btnInCpTc);
		
		JPanel panel_2 = new JPanel();
		add(panel_2, BorderLayout.CENTER);
		panel_2.setLayout(new FlowLayout(FlowLayout.LEFT, 5, 5));
		
		JButton btnNewButton_1 = new JButton("New button");
		btnNewButton_1.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				EditRoomInvoiceDialog invoice = new EditRoomInvoiceDialog();
				invoice.setVisible(true);
			}
		});
		btnNewButton_1.setPreferredSize(new Dimension(150, 100));
		panel_2.add(btnNewButton_1);
		
		JButton button_4 = new JButton("New button");
		button_4.setPreferredSize(new Dimension(150, 100));
		panel_2.add(button_4);
		
		JButton button = new JButton("New button");
		button.setPreferredSize(new Dimension(150, 100));
		panel_2.add(button);
		
		JButton button_1 = new JButton("New button");
		button_1.setPreferredSize(new Dimension(150, 100));
		panel_2.add(button_1);
		
		JButton button_2 = new JButton("New button");
		button_2.setPreferredSize(new Dimension(150, 100));
		panel_2.add(button_2);
		
		JButton button_3 = new JButton("New button");
		button_3.setPreferredSize(new Dimension(150, 100));
		panel_2.add(button_3);
		
		JButton button_9 = new JButton("New button");
		button_9.setPreferredSize(new Dimension(150, 100));
		panel_2.add(button_9);
		
		JButton button_5 = new JButton("New button");
		button_5.setPreferredSize(new Dimension(150, 100));
		panel_2.add(button_5);
		
		JButton button_6 = new JButton("New button");
		button_6.setPreferredSize(new Dimension(150, 100));
		panel_2.add(button_6);
		
		JButton button_7 = new JButton("New button");
		button_7.setPreferredSize(new Dimension(150, 100));
		panel_2.add(button_7);
		
		JButton button_8 = new JButton("New button");
		button_8.setPreferredSize(new Dimension(150, 100));
		panel_2.add(button_8);
		
		JButton button_14 = new JButton("New button");
		button_14.setPreferredSize(new Dimension(150, 100));
		panel_2.add(button_14);
		
		JButton button_10 = new JButton("New button");
		button_10.setPreferredSize(new Dimension(150, 100));
		panel_2.add(button_10);
		
		JButton button_11 = new JButton("New button");
		button_11.setPreferredSize(new Dimension(150, 100));
		panel_2.add(button_11);
		
		JButton button_12 = new JButton("New button");
		button_12.setPreferredSize(new Dimension(150, 100));
		panel_2.add(button_12);
		
		JButton button_13 = new JButton("New button");
		button_13.setPreferredSize(new Dimension(150, 100));
		panel_2.add(button_13);
		
		JButton button_15 = new JButton("New button");
		button_15.setPreferredSize(new Dimension(150, 100));
		panel_2.add(button_15);
		
		JButton button_16 = new JButton("New button");
		button_16.setPreferredSize(new Dimension(150, 100));
		panel_2.add(button_16);
		
		JButton button_17 = new JButton("New button");
		button_17.setPreferredSize(new Dimension(150, 100));
		panel_2.add(button_17);
		
		JButton button_18 = new JButton("New button");
		button_18.setPreferredSize(new Dimension(150, 100));
		panel_2.add(button_18);

	}

}
